package com.gobang.websocket.session;

import lombok.Builder;
import lombok.Data;

import java.time.Instant;

/**
 * WebSocket 会话元信息
 */
@Data
@Builder
public class UserSessionInfo {

    private Long userId;

    private String sessionId;

    private Instant connectedAt;

    private Instant lastHeartbeat;
}
